<?php
// split the phrase by any number of commas or space characters,
// which include " ",\s, \r, \t, \n and \f

$keywords = preg_split("/[,]+/", "hypertext language programming");

echo $keywords[0];

?>
